package com.neusoft.po;

import java.io.Serializable;

@SuppressWarnings("serial")
public class CommonResult<T> implements Serializable{

	private Integer code;
	private String message;
	private T result;
	
	public CommonResult() {}
	
	public CommonResult(Integer code, String message, T result) {
		super();
		this.code = code;
		this.message = message;
		this.result = result;
	}

	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public T getResult() {
		return result;
	}
	public void setResult(T result) {
		this.result = result;
	}
    
    //构造方法...
    
    //get/set方法 ...
}